<!--
 * @description: 
 * @Author: Islands
 * @Date: 2024-03-28 22:52:59
 * @LastEditTime: 2024-03-28 23:13:59
-->
<script lang="ts" setup>
import { ref, reactive, onMounted } from "vue";
import ElFormQuote from "@/components/quote/el-form-quote.vue";
import ElTableQuote from "@/components/quote/el-table-quote.vue";

const searchData = reactive({});

/**
 * 搜索方法
 * @param search
 */
const searchSubmit = async (search: any) => {
  // const result = await queryApi(search);
  // pageData.value = Object.freeze(result.data);
};
</script>
<template>
  <el-card>
    <el-form-quote
      :search-data="searchData"
      @searchChange="searchSubmit"
      class="hidden-xs"
    >
      <template #default="scope">
        <el-form-item prop="name" :label="$t(`rbac.role.name`)">
          <el-input
            :placeholder="
              $t(`rbac.role.name`, { prefix: $t(`prefix.placeholder`) })
            "
            clearable
            v-model="scope.row.name"
          />
        </el-form-item>
      </template>
    </el-form-quote>

    
  </el-card>
</template>
<style lang="scss" scoped></style>
